<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div >
        <div>
            <label>省份：</label>
            <select id="provinces">
                <option></option>
            </select>
        </div>
        <div>
            <label>城市：</label>
            <select id="cityPropers"></select>
        </div>
    </div>
<iframe id="ifream" src="http://www.weather.com.cn/data/cityinfo/101010400.html"></iframe>
</body>


<script src="jquery-1.10.1.min.js"></script>
<script>
    var city = {
        "citys": [
            {
                "province": "北京",
                "cityProper": [
                    {
                        "cityProperName": "北京",
                        "code": "101010100"
                    },
                    {
                        "cityProperName": "朝阳",
                        "code": "101010300"
                    },
                    {
                        "cityProperName": "顺义",
                        "code": "101010400"
                    },
                    {
                        "cityProperName": "怀柔",
                        "code": "101010500"
                    },
                    {
                        "cityProperName": "通州",
                        "code": "101010600"
                    },
                    {
                        "cityProperName": "昌平",
                        "code": "101010700"
                    },
                    {
                        "cityProperName": "延庆",
                        "code": "101010800"
                    },
                    {
                        "cityProperName": "丰台",
                        "code": "101010900"
                    },
                    {
                        "cityProperName": "石景山",
                        "code": "101011000"
                    },
                    {
                        "cityProperName": "大兴",
                        "code": "101011100"
                    },
                    {
                        "cityProperName": "房山",
                        "code": "101011200"
                    },
                    {
                        "cityProperName": "密云",
                        "code": "101011300"
                    },
                    {
                        "cityProperName": "门头沟",
                        "code": "101011400"
                    },
                    {
                        "cityProperName": "平谷",
                        "code": "101011500"
                    },
                    {
                        "cityProperName": "八达岭",
                        "code": "101011600"
                    },
                    {
                        "cityProperName": "佛爷顶",
                        "code": "101011700"
                    },
                    {
                        "cityProperName": "汤河口",
                        "code": "101011800"
                    },
                    {
                        "cityProperName": "密云上甸子",
                        "code": "101011900"
                    },
                    {
                        "cityProperName": "斋堂",
                        "code": "101012000"
                    },
                    {
                        "cityProperName": "霞云岭",
                        "code": "101012100"
                    },
                    {
                        "cityProperName": "北京城区",
                        "code": "101012200"
                    },
                    {
                        "cityProperName": "海淀",
                        "code": "101010200"
                    }
                ]
            },
            {
                "province": "天津",
                "cityProper": [
                    {
                        "cityProperName": "天津",
                        "code": "101030100"
                    },
                    {
                        "cityProperName": "宝坻",
                        "code": "101030300"
                    },
                    {
                        "cityProperName": "东丽",
                        "code": "101030400"
                    },
                    {
                        "cityProperName": "西青",
                        "code": "101030500"
                    },
                    {
                        "cityProperName": "北辰",
                        "code": "101030600"
                    },
                    {
                        "cityProperName": "蓟县",
                        "code": "101031400"
                    },
                    {
                        "cityProperName": "汉沽",
                        "code": "101030800"
                    },
                    {
                        "cityProperName": "静海",
                        "code": "101030900"
                    },
                    {
                        "cityProperName": "津南",
                        "code": "101031000"
                    },
                    {
                        "cityProperName": "塘沽",
                        "code": "101031100"
                    },
                    {
                        "cityProperName": "大港",
                        "code": "101031200"
                    },
                    {
                        "cityProperName": "武清",
                        "code": "101030200"
                    },
                    {
                        "cityProperName": "宁河",
                        "code": "101030700"
                    }
                ]
            },
            {
                "province": "上海",
                "cityProper": [
                    {
                        "cityProperName": "上海",
                        "code": "101020100"
                    },
                    {
                        "cityProperName": "宝山",
                        "code": "101020300"
                    },
                    {
                        "cityProperName": "嘉定",
                        "code": "101020500"
                    },
                    {
                        "cityProperName": "南汇",
                        "code": "101020600"
                    },
                    {
                        "cityProperName": "浦东",
                        "code": "101021300"
                    },
                    {
                        "cityProperName": "青浦",
                        "code": "101020800"
                    },
                    {
                        "cityProperName": "松江",
                        "code": "101020900"
                    },
                    {
                        "cityProperName": "奉贤",
                        "code": "101021000"
                    },
                    {
                        "cityProperName": "崇明",
                        "code": "101021100"
                    },
                    {
                        "cityProperName": "徐家汇",
                        "code": "101021200"
                    },
                    {
                        "cityProperName": "闵行",
                        "code": "101020200"
                    },
                    {
                        "cityProperName": "金山",
                        "code": "101020700"
                    }
                ]
            },
            {
                "province": "河北",
                "cityProper": [
                    {
                        "cityProperName": "石家庄",
                        "code": "101090101"
                    },
                    {
                        "cityProperName": "张家口",
                        "code": "101090301"
                    },
                    {
                        "cityProperName": "承德",
                        "code": "101090402"
                    },
                    {
                        "cityProperName": "唐山",
                        "code": "101090501"
                    },
                    {
                        "cityProperName": "秦皇岛",
                        "code": "101091101"
                    },
                    {
                        "cityProperName": "沧州",
                        "code": "101090701"
                    },
                    {
                        "cityProperName": "衡水",
                        "code": "101090801"
                    },
                    {
                        "cityProperName": "邢台",
                        "code": "101090901"
                    },
                    {
                        "cityProperName": "邯郸",
                        "code": "101091001"
                    },
                    {
                        "cityProperName": "保定",
                        "code": "101090201"
                    },
                    {
                        "cityProperName": "廊坊",
                        "code": "101090601"
                    }
                ]
            },
            {
                "province": "河南",
                "cityProper": [
                    {
                        "cityProperName": "郑州",
                        "code": "101180101"
                    },
                    {
                        "cityProperName": "新乡",
                        "code": "101180301"
                    },
                    {
                        "cityProperName": "许昌",
                        "code": "101180401"
                    },
                    {
                        "cityProperName": "平顶山",
                        "code": "101180501"
                    },
                    {
                        "cityProperName": "信阳",
                        "code": "101180601"
                    },
                    {
                        "cityProperName": "南阳",
                        "code": "101180701"
                    },
                    {
                        "cityProperName": "开封",
                        "code": "101180801"
                    },
                    {
                        "cityProperName": "洛阳",
                        "code": "101180901"
                    },
                    {
                        "cityProperName": "商丘",
                        "code": "101181001"
                    },
                    {
                        "cityProperName": "焦作",
                        "code": "101181101"
                    },
                    {
                        "cityProperName": "鹤壁",
                        "code": "101181201"
                    },
                    {
                        "cityProperName": "濮阳",
                        "code": "101181301"
                    },
                    {
                        "cityProperName": "周口",
                        "code": "101181401"
                    },
                    {
                        "cityProperName": "漯河",
                        "code": "101181501"
                    },
                    {
                        "cityProperName": "驻马店",
                        "code": "101181601"
                    },
                    {
                        "cityProperName": "三门峡",
                        "code": "101181701"
                    },
                    {
                        "cityProperName": "济源",
                        "code": "101181801"
                    },
                    {
                        "cityProperName": "安阳",
                        "code": "101180201"
                    }
                ]
            },
            {
                "province": "安徽",
                "cityProper": [
                    {
                        "cityProperName": "合肥",
                        "code": "101220101"
                    },
                    {
                        "cityProperName": "芜湖",
                        "code": "101220301"
                    },
                    {
                        "cityProperName": "淮南",
                        "code": "101220401"
                    },
                    {
                        "cityProperName": "马鞍山",
                        "code": "101220501"
                    },
                    {
                        "cityProperName": "安庆",
                        "code": "101220601"
                    },
                    {
                        "cityProperName": "宿州",
                        "code": "101220701"
                    },
                    {
                        "cityProperName": "阜阳",
                        "code": "101220801"
                    },
                    {
                        "cityProperName": "亳州",
                        "code": "101220901"
                    },
                    {
                        "cityProperName": "黄山",
                        "code": "101221001"
                    },
                    {
                        "cityProperName": "滁州",
                        "code": "101221101"
                    },
                    {
                        "cityProperName": "淮北",
                        "code": "101221201"
                    },
                    {
                        "cityProperName": "铜陵",
                        "code": "101221301"
                    },
                    {
                        "cityProperName": "宣城",
                        "code": "101221401"
                    },
                    {
                        "cityProperName": "六安",
                        "code": "101221501"
                    },
                    {
                        "cityProperName": "巢湖",
                        "code": "101221601"
                    },
                    {
                        "cityProperName": "池州",
                        "code": "101221701"
                    },
                    {
                        "cityProperName": "蚌埠",
                        "code": "101220201"
                    }
                ]
            },
            {
                "province": "浙江",
                "cityProper": [
                    {
                        "cityProperName": "杭州",
                        "code": "101210101"
                    },
                    {
                        "cityProperName": "舟山",
                        "code": "101211101"
                    },
                    {
                        "cityProperName": "湖州",
                        "code": "101210201"
                    },
                    {
                        "cityProperName": "嘉兴",
                        "code": "101210301"
                    },
                    {
                        "cityProperName": "金华",
                        "code": "101210901"
                    },
                    {
                        "cityProperName": "绍兴",
                        "code": "101210501"
                    },
                    {
                        "cityProperName": "台州",
                        "code": "101210601"
                    },
                    {
                        "cityProperName": "温州",
                        "code": "101210701"
                    },
                    {
                        "cityProperName": "丽水",
                        "code": "101210801"
                    },
                    {
                        "cityProperName": "衢州",
                        "code": "101211001"
                    },
                    {
                        "cityProperName": "宁波",
                        "code": "101210401"
                    }
                ]
            },
            {
                "province": "重庆",
                "cityProper": [
                    {
                        "cityProperName": "重庆",
                        "code": "101040100"
                    },
                    {
                        "cityProperName": "合川",
                        "code": "101040300"
                    },
                    {
                        "cityProperName": "南川",
                        "code": "101040400"
                    },
                    {
                        "cityProperName": "江津",
                        "code": "101040500"
                    },
                    {
                        "cityProperName": "万盛",
                        "code": "101040600"
                    },
                    {
                        "cityProperName": "渝北",
                        "code": "101040700"
                    },
                    {
                        "cityProperName": "北碚",
                        "code": "101040800"
                    },
                    {
                        "cityProperName": "巴南",
                        "code": "101040900"
                    },
                    {
                        "cityProperName": "长寿",
                        "code": "101041000"
                    },
                    {
                        "cityProperName": "黔江",
                        "code": "101041100"
                    },
                    {
                        "cityProperName": "万州天城",
                        "code": "101041200"
                    },
                    {
                        "cityProperName": "万州龙宝",
                        "code": "101041300"
                    },
                    {
                        "cityProperName": "涪陵",
                        "code": "101041400"
                    },
                    {
                        "cityProperName": "开县",
                        "code": "101041500"
                    },
                    {
                        "cityProperName": "城口",
                        "code": "101041600"
                    },
                    {
                        "cityProperName": "云阳",
                        "code": "101041700"
                    },
                    {
                        "cityProperName": "巫溪",
                        "code": "101041800"
                    },
                    {
                        "cityProperName": "奉节",
                        "code": "101041900"
                    },
                    {
                        "cityProperName": "巫山",
                        "code": "101042000"
                    },
                    {
                        "cityProperName": "潼南",
                        "code": "101042100"
                    },
                    {
                        "cityProperName": "垫江",
                        "code": "101042200"
                    },
                    {
                        "cityProperName": "梁平",
                        "code": "101042300"
                    },
                    {
                        "cityProperName": "忠县",
                        "code": "101042400"
                    },
                    {
                        "cityProperName": "石柱",
                        "code": "101042500"
                    },
                    {
                        "cityProperName": "大足",
                        "code": "101042600"
                    },
                    {
                        "cityProperName": "荣昌",
                        "code": "101042700"
                    },
                    {
                        "cityProperName": "铜梁",
                        "code": "101042800"
                    },
                    {
                        "cityProperName": "璧山",
                        "code": "101042900"
                    },
                    {
                        "cityProperName": "丰都",
                        "code": "101043000"
                    },
                    {
                        "cityProperName": "武隆",
                        "code": "101043100"
                    },
                    {
                        "cityProperName": "彭水",
                        "code": "101043200"
                    },
                    {
                        "cityProperName": "綦江",
                        "code": "101043300"
                    },
                    {
                        "cityProperName": "酉阳",
                        "code": "101043400"
                    },
                    {
                        "cityProperName": "秀山",
                        "code": "101043600"
                    },
                    {
                        "cityProperName": "沙坪坝",
                        "code": "101043700"
                    },
                    {
                        "cityProperName": "永川",
                        "code": "101040200"
                    }
                ]
            },
            {
                "province": "福建",
                "cityProper": [
                    {
                        "cityProperName": "福州",
                        "code": "101230101"
                    },
                    {
                        "cityProperName": "泉州",
                        "code": "101230501"
                    },
                    {
                        "cityProperName": "漳州",
                        "code": "101230601"
                    },
                    {
                        "cityProperName": "龙岩",
                        "code": "101230701"
                    },
                    {
                        "cityProperName": "晋江",
                        "code": "101230509"
                    },
                    {
                        "cityProperName": "南平",
                        "code": "101230901"
                    },
                    {
                        "cityProperName": "厦门",
                        "code": "101230201"
                    },
                    {
                        "cityProperName": "宁德",
                        "code": "101230301"
                    },
                    {
                        "cityProperName": "莆田",
                        "code": "101230401"
                    },
                    {
                        "cityProperName": "三明",
                        "code": "101230801"
                    }
                ]
            },
            {
                "province": "甘肃",
                "cityProper": [
                    {
                        "cityProperName": "兰州",
                        "code": "101160101"
                    },
                    {
                        "cityProperName": "平凉",
                        "code": "101160301"
                    },
                    {
                        "cityProperName": "庆阳",
                        "code": "101160401"
                    },
                    {
                        "cityProperName": "武威",
                        "code": "101160501"
                    },
                    {
                        "cityProperName": "金昌",
                        "code": "101160601"
                    },
                    {
                        "cityProperName": "嘉峪关",
                        "code": "101161401"
                    },
                    {
                        "cityProperName": "酒泉",
                        "code": "101160801"
                    },
                    {
                        "cityProperName": "天水",
                        "code": "101160901"
                    },
                    {
                        "cityProperName": "武都",
                        "code": "101161001"
                    },
                    {
                        "cityProperName": "临夏",
                        "code": "101161101"
                    },
                    {
                        "cityProperName": "合作",
                        "code": "101161201"
                    },
                    {
                        "cityProperName": "白银",
                        "code": "101161301"
                    },
                    {
                        "cityProperName": "定西",
                        "code": "101160201"
                    },
                    {
                        "cityProperName": "张掖",
                        "code": "101160701"
                    }
                ]
            },
            {
                "province": "广东",
                "cityProper": [
                    {
                        "cityProperName": "广州",
                        "code": "101280101"
                    },
                    {
                        "cityProperName": "惠州",
                        "code": "101280301"
                    },
                    {
                        "cityProperName": "梅州",
                        "code": "101280401"
                    },
                    {
                        "cityProperName": "汕头",
                        "code": "101280501"
                    },
                    {
                        "cityProperName": "深圳",
                        "code": "101280601"
                    },
                    {
                        "cityProperName": "珠海",
                        "code": "101280701"
                    },
                    {
                        "cityProperName": "佛山",
                        "code": "101280800"
                    },
                    {
                        "cityProperName": "肇庆",
                        "code": "101280901"
                    },
                    {
                        "cityProperName": "湛江",
                        "code": "101281001"
                    },
                    {
                        "cityProperName": "江门",
                        "code": "101281101"
                    },
                    {
                        "cityProperName": "河源",
                        "code": "101281201"
                    },
                    {
                        "cityProperName": "清远",
                        "code": "101281301"
                    },
                    {
                        "cityProperName": "云浮",
                        "code": "101281401"
                    },
                    {
                        "cityProperName": "潮州",
                        "code": "101281501"
                    },
                    {
                        "cityProperName": "东莞",
                        "code": "101281601"
                    },
                    {
                        "cityProperName": "中山",
                        "code": "101281701"
                    },
                    {
                        "cityProperName": "阳江",
                        "code": "101281801"
                    },
                    {
                        "cityProperName": "揭阳",
                        "code": "101281901"
                    },
                    {
                        "cityProperName": "茂Name",
                        "code": "101282001"
                    },
                    {
                        "cityProperName": "汕尾",
                        "code": "101282101"
                    },
                    {
                        "cityProperName": "韶关",
                        "code": "101280201"
                    }
                ]
            },
            {
                "province": "广西",
                "cityProper": [
                    {
                        "cityProperName": "南宁",
                        "code": "101300101"
                    },
                    {
                        "cityProperName": "柳州",
                        "code": "101300301"
                    },
                    {
                        "cityProperName": "来宾",
                        "code": "101300401"
                    },
                    {
                        "cityProperName": "桂林",
                        "code": "101300501"
                    },
                    {
                        "cityProperName": "梧州",
                        "code": "101300601"
                    },
                    {
                        "cityProperName": "防城港",
                        "code": "101301401"
                    },
                    {
                        "cityProperName": "贵港",
                        "code": "101300801"
                    },
                    {
                        "cityProperName": "玉林",
                        "code": "101300901"
                    },
                    {
                        "cityProperName": "百色",
                        "code": "101301001"
                    },
                    {
                        "cityProperName": "钦州",
                        "code": "101301101"
                    },
                    {
                        "cityProperName": "河池",
                        "code": "101301201"
                    },
                    {
                        "cityProperName": "北海",
                        "code": "101301301"
                    },
                    {
                        "cityProperName": "崇左",
                        "code": "101300201"
                    },
                    {
                        "cityProperName": "贺州",
                        "code": "101300701"
                    }
                ]
            },
            {
                "province": "贵州",
                "cityProper": [
                    {
                        "cityProperName": "贵阳",
                        "code": "101260101"
                    },
                    {
                        "cityProperName": "安顺",
                        "code": "101260301"
                    },
                    {
                        "cityProperName": "都匀",
                        "code": "101260401"
                    },
                    {
                        "cityProperName": "兴义",
                        "code": "101260906"
                    },
                    {
                        "cityProperName": "铜仁",
                        "code": "101260601"
                    },
                    {
                        "cityProperName": "毕节",
                        "code": "101260701"
                    },
                    {
                        "cityProperName": "六盘水",
                        "code": "101260801"
                    },
                    {
                        "cityProperName": "遵义",
                        "code": "101260201"
                    },
                    {
                        "cityProperName": "凯里",
                        "code": "101260501"
                    }
                ]
            },
            {
                "province": "云南",
                "cityProper": [
                    {
                        "cityProperName": "昆明",
                        "code": "101290101"
                    },
                    {
                        "cityProperName": "红河",
                        "code": "101290301"
                    },
                    {
                        "cityProperName": "文山",
                        "code": "101290601"
                    },
                    {
                        "cityProperName": "玉溪",
                        "code": "101290701"
                    },
                    {
                        "cityProperName": "楚雄",
                        "code": "101290801"
                    },
                    {
                        "cityProperName": "普洱",
                        "code": "101290901"
                    },
                    {
                        "cityProperName": "昭通",
                        "code": "101291001"
                    },
                    {
                        "cityProperName": "临沧",
                        "code": "101291101"
                    },
                    {
                        "cityProperName": "怒江",
                        "code": "101291201"
                    },
                    {
                        "cityProperName": "香格里拉",
                        "code": "101291301"
                    },
                    {
                        "cityProperName": "丽江",
                        "code": "101291401"
                    },
                    {
                        "cityProperName": "德宏",
                        "code": "101291501"
                    },
                    {
                        "cityProperName": "景洪",
                        "code": "101291601"
                    },
                    {
                        "cityProperName": "大理",
                        "code": "101290201"
                    },
                    {
                        "cityProperName": "曲靖",
                        "code": "101290401"
                    },
                    {
                        "cityProperName": "保山",
                        "code": "101290501"
                    }
                ]
            },
            {
                "province": "内蒙古",
                "cityProper": [
                    {
                        "cityProperName": "呼和浩特",
                        "code": "101080101"
                    },
                    {
                        "cityProperName": "乌海",
                        "code": "101080301"
                    },
                    {
                        "cityProperName": "集宁",
                        "code": "101080401"
                    },
                    {
                        "cityProperName": "通辽",
                        "code": "101080501"
                    },
                    {
                        "cityProperName": "阿拉善左旗",
                        "code": "101081201"
                    },
                    {
                        "cityProperName": "鄂尔多斯",
                        "code": "101080701"
                    },
                    {
                        "cityProperName": "临河",
                        "code": "101080801"
                    },
                    {
                        "cityProperName": "锡林浩特",
                        "code": "101080901"
                    },
                    {
                        "cityProperName": "呼伦贝尔",
                        "code": "101081000"
                    },
                    {
                        "cityProperName": "乌兰浩特",
                        "code": "101081101"
                    },
                    {
                        "cityProperName": "包头",
                        "code": "101080201"
                    },
                    {
                        "cityProperName": "赤峰",
                        "code": "101080601"
                    }
                ]
            },
            {
                "province": "江西",
                "cityProper": [
                    {
                        "cityProperName": "南昌",
                        "code": "101240101"
                    },
                    {
                        "cityProperName": "上饶",
                        "code": "101240301"
                    },
                    {
                        "cityProperName": "抚州",
                        "code": "101240401"
                    },
                    {
                        "cityProperName": "宜春",
                        "code": "101240501"
                    },
                    {
                        "cityProperName": "鹰潭",
                        "code": "101241101"
                    },
                    {
                        "cityProperName": "赣州",
                        "code": "101240701"
                    },
                    {
                        "cityProperName": "景德镇",
                        "code": "101240801"
                    },
                    {
                        "cityProperName": "萍乡",
                        "code": "101240901"
                    },
                    {
                        "cityProperName": "新余",
                        "code": "101241001"
                    },
                    {
                        "cityProperName": "九江",
                        "code": "101240201"
                    },
                    {
                        "cityProperName": "吉安",
                        "code": "101240601"
                    }
                ]
            },
            {
                "province": "湖北",
                "cityProper": [
                    {
                        "cityProperName": "武汉",
                        "code": "101200101"
                    },
                    {
                        "cityProperName": "黄冈",
                        "code": "101200501"
                    },
                    {
                        "cityProperName": "荆州",
                        "code": "101200801"
                    },
                    {
                        "cityProperName": "宜昌",
                        "code": "101200901"
                    },
                    {
                        "cityProperName": "恩施",
                        "code": "101201001"
                    },
                    {
                        "cityProperName": "十堰",
                        "code": "101201101"
                    },
                    {
                        "cityProperName": "神农架",
                        "code": "101201201"
                    },
                    {
                        "cityProperName": "随州",
                        "code": "101201301"
                    },
                    {
                        "cityProperName": "荆门",
                        "code": "101201401"
                    },
                    {
                        "cityProperName": "天门",
                        "code": "101201501"
                    },
                    {
                        "cityProperName": "仙桃",
                        "code": "101201601"
                    },
                    {
                        "cityProperName": "潜江",
                        "code": "101201701"
                    },
                    {
                        "cityProperName": "襄樊",
                        "code": "101200201"
                    },
                    {
                        "cityProperName": "鄂州",
                        "code": "101200301"
                    },
                    {
                        "cityProperName": "孝感",
                        "code": "101200401"
                    },
                    {
                        "cityProperName": "黄石",
                        "code": "101200601"
                    },
                    {
                        "cityProperName": "咸宁",
                        "code": "101200701"
                    }
                ]
            },
            {
                "province": "四川",
                "cityProper": [
                    {
                        "cityProperName": "成都",
                        "code": "101270101"
                    },
                    {
                        "cityProperName": "自贡",
                        "code": "101270301"
                    },
                    {
                        "cityProperName": "绵阳",
                        "code": "101270401"
                    },
                    {
                        "cityProperName": "南充",
                        "code": "101270501"
                    },
                    {
                        "cityProperName": "达州",
                        "code": "101270601"
                    },
                    {
                        "cityProperName": "遂宁",
                        "code": "101270701"
                    },
                    {
                        "cityProperName": "广安",
                        "code": "101270801"
                    },
                    {
                        "cityProperName": "巴中",
                        "code": "101270901"
                    },
                    {
                        "cityProperName": "泸州",
                        "code": "101271001"
                    },
                    {
                        "cityProperName": "宜宾",
                        "code": "101271101"
                    },
                    {
                        "cityProperName": "内江",
                        "code": "101271201"
                    },
                    {
                        "cityProperName": "资阳",
                        "code": "101271301"
                    },
                    {
                        "cityProperName": "乐山",
                        "code": "101271401"
                    },
                    {
                        "cityProperName": "眉山",
                        "code": "101271501"
                    },
                    {
                        "cityProperName": "凉山",
                        "code": "101271601"
                    },
                    {
                        "cityProperName": "雅安",
                        "code": "101271701"
                    },
                    {
                        "cityProperName": "甘孜",
                        "code": "101271801"
                    },
                    {
                        "cityProperName": "阿坝",
                        "code": "101271901"
                    },
                    {
                        "cityProperName": "德阳",
                        "code": "101272001"
                    },
                    {
                        "cityProperName": "广元",
                        "code": "101272101"
                    },
                    {
                        "cityProperName": "攀枝花",
                        "code": "101270201"
                    }
                ]
            },
            {
                "province": "宁夏",
                "cityProper": [
                    {
                        "cityProperName": "银川",
                        "code": "101170101"
                    },
                    {
                        "cityProperName": "中卫",
                        "code": "101170501"
                    },
                    {
                        "cityProperName": "固原",
                        "code": "101170401"
                    },
                    {
                        "cityProperName": "石嘴山",
                        "code": "101170201"
                    },
                    {
                        "cityProperName": "吴忠",
                        "code": "101170301"
                    }
                ]
            },
            {
                "province": "青海province",
                "cityProper": [
                    {
                        "cityProperName": "西宁",
                        "code": "101150101"
                    },
                    {
                        "cityProperName": "黄南",
                        "code": "101150301"
                    },
                    {
                        "cityProperName": "海北",
                        "code": "101150801"
                    },
                    {
                        "cityProperName": "果洛",
                        "code": "101150501"
                    },
                    {
                        "cityProperName": "玉树",
                        "code": "101150601"
                    },
                    {
                        "cityProperName": "海西",
                        "code": "101150701"
                    },
                    {
                        "cityProperName": "海东",
                        "code": "101150201"
                    },
                    {
                        "cityProperName": "海南",
                        "code": "101150401"
                    }
                ]
            },
            {
                "province": "山东",
                "cityProper": [
                    {
                        "cityProperName": "济南",
                        "code": "101120101"
                    },
                    {
                        "cityProperName": "潍坊",
                        "code": "101120601"
                    },
                    {
                        "cityProperName": "临沂",
                        "code": "101120901"
                    },
                    {
                        "cityProperName": "菏泽",
                        "code": "101121001"
                    },
                    {
                        "cityProperName": "滨州",
                        "code": "101121101"
                    },
                    {
                        "cityProperName": "东营",
                        "code": "101121201"
                    },
                    {
                        "cityProperName": "威海",
                        "code": "101121301"
                    },
                    {
                        "cityProperName": "枣庄",
                        "code": "101121401"
                    },
                    {
                        "cityProperName": "日照",
                        "code": "101121501"
                    },
                    {
                        "cityProperName": "莱芜",
                        "code": "101121601"
                    },
                    {
                        "cityProperName": "聊城",
                        "code": "101121701"
                    },
                    {
                        "cityProperName": "青岛",
                        "code": "101120201"
                    },
                    {
                        "cityProperName": "淄博",
                        "code": "101120301"
                    },
                    {
                        "cityProperName": "德州",
                        "code": "101120401"
                    },
                    {
                        "cityProperName": "烟台",
                        "code": "101120501"
                    },
                    {
                        "cityProperName": "济宁",
                        "code": "101120701"
                    },
                    {
                        "cityProperName": "泰安",
                        "code": "101120801"
                    }
                ]
            },
            {
                "province": "陕西province",
                "cityProper": [
                    {
                        "cityProperName": "西安",
                        "code": "101110101"
                    },
                    {
                        "cityProperName": "延安",
                        "code": "101110300"
                    },
                    {
                        "cityProperName": "榆林",
                        "code": "101110401"
                    },
                    {
                        "cityProperName": "铜川",
                        "code": "101111001"
                    },
                    {
                        "cityProperName": "商洛",
                        "code": "101110601"
                    },
                    {
                        "cityProperName": "安康",
                        "code": "101110701"
                    },
                    {
                        "cityProperName": "汉中",
                        "code": "101110801"
                    },
                    {
                        "cityProperName": "宝鸡",
                        "code": "101110901"
                    },
                    {
                        "cityProperName": "咸阳",
                        "code": "101110200"
                    },
                    {
                        "cityProperName": "渭南",
                        "code": "101110501"
                    }
                ]
            },
            {
                "province": "山西",
                "cityProper": [
                    {
                        "cityProperName": "太原",
                        "code": "101100101"
                    },
                    {
                        "cityProperName": "临汾",
                        "code": "101100701"
                    },
                    {
                        "cityProperName": "运城",
                        "code": "101100801"
                    },
                    {
                        "cityProperName": "朔州",
                        "code": "101100901"
                    },
                    {
                        "cityProperName": "忻州",
                        "code": "101101001"
                    },
                    {
                        "cityProperName": "长治",
                        "code": "101100501"
                    },
                    {
                        "cityProperName": "大同",
                        "code": "101100201"
                    },
                    {
                        "cityProperName": "阳泉",
                        "code": "101100301"
                    },
                    {
                        "cityProperName": "晋中",
                        "code": "101100401"
                    },
                    {
                        "cityProperName": "晋城",
                        "code": "101100601"
                    },
                    {
                        "cityProperName": "吕梁",
                        "code": "101101100"
                    }
                ]
            },
            {
                "province": "新疆",
                "cityProper": [
                    {
                        "cityProperName": "乌鲁木齐",
                        "code": "101130101"
                    },
                    {
                        "cityProperName": "石河子",
                        "code": "101130301"
                    },
                    {
                        "cityProperName": "昌吉",
                        "code": "101130401"
                    },
                    {
                        "cityProperName": "吐鲁番",
                        "code": "101130501"
                    },
                    {
                        "cityProperName": "库尔勒",
                        "code": "101130601"
                    },
                    {
                        "cityProperName": "阿拉尔",
                        "code": "101130701"
                    },
                    {
                        "cityProperName": "阿克苏",
                        "code": "101130801"
                    },
                    {
                        "cityProperName": "喀什",
                        "code": "101130901"
                    },
                    {
                        "cityProperName": "伊宁",
                        "code": "101131001"
                    },
                    {
                        "cityProperName": "塔城",
                        "code": "101131101"
                    },
                    {
                        "cityProperName": "哈密",
                        "code": "101131201"
                    },
                    {
                        "cityProperName": "和田",
                        "code": "101131301"
                    },
                    {
                        "cityProperName": "阿勒泰",
                        "code": "101131401"
                    },
                    {
                        "cityProperName": "阿图什",
                        "code": "101131501"
                    },
                    {
                        "cityProperName": "博乐",
                        "code": "101131601"
                    },
                    {
                        "cityProperName": "克拉玛依",
                        "code": "101130201"
                    }
                ]
            },
            {
                "province": "西藏",
                "cityProper": [
                    {
                        "cityProperName": "拉萨",
                        "code": "101140101"
                    },
                    {
                        "cityProperName": "山南",
                        "code": "101140301"
                    },
                    {
                        "cityProperName": "阿里",
                        "code": "101140701"
                    },
                    {
                        "cityProperName": "昌都",
                        "code": "101140501"
                    },
                    {
                        "cityProperName": "那曲",
                        "code": "101140601"
                    },
                    {
                        "cityProperName": "日喀则",
                        "code": "101140201"
                    },
                    {
                        "cityProperName": "林芝",
                        "code": "101140401"
                    }
                ]
            },
            {
                "province": "台湾",
                "cityProper": [
                    {
                        "cityProperName": "台北县",
                        "code": "101340101"
                    },
                    {
                        "cityProperName": "高雄",
                        "code": "101340201"
                    },
                    {
                        "cityProperName": "台中",
                        "code": "101340401"
                    }
                ]
            },
            {
                "province": "海南province",
                "cityProper": [
                    {
                        "cityProperName": "海口",
                        "code": "101310101"
                    },
                    {
                        "cityProperName": "三亚",
                        "code": "101310201"
                    },
                    {
                        "cityProperName": "东方",
                        "code": "101310202"
                    },
                    {
                        "cityProperName": "临高",
                        "code": "101310203"
                    },
                    {
                        "cityProperName": "澄迈",
                        "code": "101310204"
                    },
                    {
                        "cityProperName": "儋州",
                        "code": "101310205"
                    },
                    {
                        "cityProperName": "昌江",
                        "code": "101310206"
                    },
                    {
                        "cityProperName": "白沙",
                        "code": "101310207"
                    },
                    {
                        "cityProperName": "琼中",
                        "code": "101310208"
                    },
                    {
                        "cityProperName": "定安",
                        "code": "101310209"
                    },
                    {
                        "cityProperName": "屯昌",
                        "code": "101310210"
                    },
                    {
                        "cityProperName": "琼海",
                        "code": "101310211"
                    },
                    {
                        "cityProperName": "文昌",
                        "code": "101310212"
                    },
                    {
                        "cityProperName": "保亭",
                        "code": "101310214"
                    },
                    {
                        "cityProperName": "万宁",
                        "code": "101310215"
                    },
                    {
                        "cityProperName": "陵水",
                        "code": "101310216"
                    },
                    {
                        "cityProperName": "西沙",
                        "code": "101310217"
                    },
                    {
                        "cityProperName": "南沙岛",
                        "code": "101310220"
                    },
                    {
                        "cityProperName": "乐东",
                        "code": "101310221"
                    },
                    {
                        "cityProperName": "五指山",
                        "code": "101310222"
                    },
                    {
                        "cityProperName": "琼山",
                        "code": "101310102"
                    }
                ]
            },
            {
                "province": "湖南",
                "cityProper": [
                    {
                        "cityProperName": "长沙",
                        "code": "101250101"
                    },
                    {
                        "cityProperName": "株洲",
                        "code": "101250301"
                    },
                    {
                        "cityProperName": "衡阳",
                        "code": "101250401"
                    },
                    {
                        "cityProperName": "郴州",
                        "code": "101250501"
                    },
                    {
                        "cityProperName": "常德",
                        "code": "101250601"
                    },
                    {
                        "cityProperName": "益阳",
                        "code": "101250700"
                    },
                    {
                        "cityProperName": "娄底",
                        "code": "101250801"
                    },
                    {
                        "cityProperName": "邵阳",
                        "code": "101250901"
                    },
                    {
                        "cityProperName": "岳阳",
                        "code": "101251001"
                    },
                    {
                        "cityProperName": "张家界",
                        "code": "101251101"
                    },
                    {
                        "cityProperName": "怀化",
                        "code": "101251201"
                    },
                    {
                        "cityProperName": "黔阳",
                        "code": "101251301"
                    },
                    {
                        "cityProperName": "永州",
                        "code": "101251401"
                    },
                    {
                        "cityProperName": "吉首",
                        "code": "101251501"
                    },
                    {
                        "cityProperName": "湘潭",
                        "code": "101250201"
                    }
                ]
            },
            {
                "province": "江苏",
                "cityProper": [
                    {
                        "cityProperName": "南京",
                        "code": "101190101"
                    },
                    {
                        "cityProperName": "镇江",
                        "code": "101190301"
                    },
                    {
                        "cityProperName": "苏州",
                        "code": "101190401"
                    },
                    {
                        "cityProperName": "南通",
                        "code": "101190501"
                    },
                    {
                        "cityProperName": "扬州",
                        "code": "101190601"
                    },
                    {
                        "cityProperName": "宿迁",
                        "code": "101191301"
                    },
                    {
                        "cityProperName": "徐州",
                        "code": "101190801"
                    },
                    {
                        "cityProperName": "淮安",
                        "code": "101190901"
                    },
                    {
                        "cityProperName": "连云港",
                        "code": "101191001"
                    },
                    {
                        "cityProperName": "常州",
                        "code": "101191101"
                    },
                    {
                        "cityProperName": "泰州",
                        "code": "101191201"
                    },
                    {
                        "cityProperName": "无锡",
                        "code": "101190201"
                    },
                    {
                        "cityProperName": "盐城",
                        "code": "101190701"
                    }
                ]
            },
            {
                "province": "黑龙江",
                "cityProper": [
                    {
                        "cityProperName": "哈尔滨",
                        "code": "101050101"
                    },
                    {
                        "cityProperName": "牡丹江",
                        "code": "101050301"
                    },
                    {
                        "cityProperName": "佳木斯",
                        "code": "101050401"
                    },
                    {
                        "cityProperName": "绥化",
                        "code": "101050501"
                    },
                    {
                        "cityProperName": "黑河",
                        "code": "101050601"
                    },
                    {
                        "cityProperName": "双鸭山",
                        "code": "101051301"
                    },
                    {
                        "cityProperName": "伊春",
                        "code": "101050801"
                    },
                    {
                        "cityProperName": "大庆",
                        "code": "101050901"
                    },
                    {
                        "cityProperName": "七台河",
                        "code": "101051002"
                    },
                    {
                        "cityProperName": "鸡西",
                        "code": "101051101"
                    },
                    {
                        "cityProperName": "鹤岗",
                        "code": "101051201"
                    },
                    {
                        "cityProperName": "齐齐哈尔",
                        "code": "101050201"
                    },
                    {
                        "cityProperName": "大兴安岭",
                        "code": "101050701"
                    }
                ]
            },
            {
                "province": "吉林",
                "cityProper": [
                    {
                        "cityProperName": "长春",
                        "code": "101060101"
                    },
                    {
                        "cityProperName": "延吉",
                        "code": "101060301"
                    },
                    {
                        "cityProperName": "四平",
                        "code": "101060401"
                    },
                    {
                        "cityProperName": "白山",
                        "code": "101060901"
                    },
                    {
                        "cityProperName": "白城",
                        "code": "101060601"
                    },
                    {
                        "cityProperName": "辽源",
                        "code": "101060701"
                    },
                    {
                        "cityProperName": "松原",
                        "code": "101060801"
                    },
                    {
                        "cityProperName": "吉林",
                        "code": "101060201"
                    },
                    {
                        "cityProperName": "通化",
                        "code": "101060501"
                    }
                ]
            },
            {
                "province": "辽宁",
                "cityProper": [
                    {
                        "cityProperName": "沈阳",
                        "code": "101070101"
                    },
                    {
                        "cityProperName": "鞍山",
                        "code": "101070301"
                    },
                    {
                        "cityProperName": "抚顺",
                        "code": "101070401"
                    },
                    {
                        "cityProperName": "本溪",
                        "code": "101070501"
                    },
                    {
                        "cityProperName": "丹东",
                        "code": "101070601"
                    },
                    {
                        "cityProperName": "葫芦岛",
                        "code": "101071401"
                    },
                    {
                        "cityProperName": "营口",
                        "code": "101070801"
                    },
                    {
                        "cityProperName": "阜新",
                        "code": "101070901"
                    },
                    {
                        "cityProperName": "辽阳",
                        "code": "101071001"
                    },
                    {
                        "cityProperName": "铁岭",
                        "code": "101071101"
                    },
                    {
                        "cityProperName": "朝阳",
                        "code": "101071201"
                    },
                    {
                        "cityProperName": "盘锦",
                        "code": "101071301"
                    },
                    {
                        "cityProperName": "大连",
                        "code": "101070201"
                    },
                    {
                        "cityProperName": "锦州",
                        "code": "101070701"
                    }
                ]
            }
        ]
    }
</script>
<script>
//    var cityss = city[citys];
//    console.log(cityss)
var provinces = {};
var cityPropers =[];
//function initCity() {
//    for (metaKe in city){
//        console.log(metaKe);
//        var daima = city[metaKe];
//        console.log(daima);
//        for (var i=0;i<daima.length;i++){
//            console.log(daima[i]);
//            console.log();
//            for (var j=0;j<daima[i]['cityProper'].length;j++){
//                cityPropers[i]=daima[i]['cityProper'];
//            }
//            console.log(cityPropers);
//            provinces[daima[i]['province']]=cityPropers;
//            cityPropers=[];
//        }
//
//
//    }
//    console.log("aaa"+provinces);
//}
function initCity() {
    for (metaKe in city){
        console.log(metaKe);
        var daima = city[metaKe];
        console.log(daima);
        for (var i=0;i<daima.length;i++){

            provinces[daima[i]['province']]=daima[i]['cityProper'];
//            console.log(daima[i]);
//            console.log();
//            for (var j=0;j<daima[i]['cityProper'].length;j++){
//                cityPropers[i]=daima[i]['cityProper'];
//            }
//            console.log(cityPropers);
//
//            cityPropers=[];
        }


    }
    console.log("aaa"+provinces);
}
function initSelect() {
    for (province in  provinces){
        var op = '<option value="'+province+'">'+province+'</option>';
        $("#provinces").append(op)
    }
}
$("#provinces").change(function(){
//   alert($("#provinces").val())
//    console.log(provinces[$("#provinces").val()]);
    var pro = provinces[$("#provinces").val()];
    $("#cityPropers").html("");
    var op = '<option value=""></option>';
    $("#cityPropers").append(op)
   for (var i=0;i<pro.length;i++){

       console.log();

       var op = '<option value="'+pro[i]['code']+'">'+pro[i]['cityProperName']+'</option>';
       $("#cityPropers").append(op)
   }
});
$("#cityPropers").change(function(){

//    console.log(provinces[$("#provinces").val()]);
    var urls= "http://www.weather.com.cn/data/cityinfo/"+$("#cityPropers").val()+".html";
   $("#ifream").attr("src",urls);
   alert($("#ifream").contents().find("body").html())

});

$(function(){
    initCity();
    initSelect();

});


//    var daima = city["city"];
//    console.log(daima);

//http://www.weather.com.cn/data/cityinfo/101010400.html
</script>


</html>